package com.audaque.springboot.foshanupload.web.testdemo.service.impl;


import com.audaque.springboot.foshanupload.web.testdemo.service.inface.DemoService;
import org.springframework.stereotype.Service;

/**
 * @author alexhu
 */
@Service
public class DemoServiceImpl implements DemoService {

    @Override
    public void helloSay() {
        System.out.println("hello world!");
    }

    public String serviceA(String name) {
        System.out.println("serviceA 被真实调用了，当前入参：" + name);
        return "serviceA 真实返回：" + name;
    }

    public String serviceB(String name) {
        System.out.println("serviceB 被真实调用了，当前入参：" + name);
        return "serviceB 真实返回：" + name;
    }
}
